/**
 * 接口列表文件
 */
export default {

	/** 公共 ↓ **/
	common: {
		init: {
			url: "/addons/shopro/index/init",
			auth: false,
			method: "GET",
			// desc: '初始化数据'
		},
		chat: {
			url: "/addons/shopro/chat.index/init",
			auth: false,
			method: "GET",
			// desc: '初始化聊天配置',
		},
		upload: {
			url: "/addons/shopro/index/upload",
			auth: true,
			method: "POST",
			// desc: '上传图片',
		},
		template: {
			url: "/addons/shopro/index/template",
			auth: false,
			method: "GET",
			// desc: '模板信息'
		},
		custom: {
			url: "/addons/shopro/index/custom",
			auth: false,
			method: "GET",
			// desc: '自定义模板页面',
		},
		live: {
			url: "/addons/shopro/live",
			auth: false,
			method: "GET",
			// desc: '直播列表',
		},
		wxJssdk: {
			url: "/addons/shopro/wechat/jssdk",
			auth: false,
			method: "POST",
			// desc: '微信Jssdk',
		},
		syncPages: {
			url: "/addons/shopro/index/asyncPages",
			auth: false,
			method: "POST",
			// desc: '路由表 DEV开发模式下有效'
		},
		debug: {
			url: "/addons/shopro/index/debugLog",
			auth: false,
			method: "POST",
			// desc: '上传DEBUG信息',
		},
		richText: {
			url: "/addons/shopro/index/richtext",
			auth: false,
			method: "GET",
			// desc: '富文本数据',
		},
		shareAdd: {
			url: "/addons/shopro/share/add",
			auth: false,
			method: "POST",
			// desc: '添加分享记录',
		},
		smsSend: {
			url: "/addons/shopro/sms/send",
			auth: false,
			method: "POST",
			// desc: '发送短信',
		},
	},

	/** 分类 ↓ **/
	category: {
		info: {
			url: "/addons/shopro/category/detail",
			auth: false,
			method: "GET",
			// desc: '分类类别',
		},
		detail: {
			url: "/addons/shopro/category",
			auth: false,
			method: "GET",
			// desc: '分类详情',
		},
		list: {
			url: "/addons/shopro/category/list",
			auth: false,
			method: "GET",
			// desc: '首页分类项目列表',
		},
		city: {
			url: "/api/common/getAreaCity",
			auth: false,
			method: "POST",
			// desc: '首页分类项目列表',
		}
	},

	technician:{
		add: {
			url: "/api/technician/submitApply",
			auth: true,
			method: "POST",
			// desc: '首页分类项目列表',
		},
		getOrderNumsList: {
			url: "/api/technician/getOrderNumsList",
			auth: true,
			method: "POST",
			// desc: '首页分类项目列表',
		},
		addchengshi: {
			url: "/api/city_partner/submitApply",
			auth: true,
			method: "POST",
			// desc: '首页分类项目列表',
		},
		getjishi: {
			url: "/api/technician/getTechnicianList",
			auth: true,
			method: "POST",
			// desc: '首页分类项目列表',
		},
		getjishigoods: {
			url: "/api/technician/getjishigoods",
			auth: true,
			method: "GET",
			// desc: '首页分类项目列表',
		},
		getaddresslatlng: {
			url: "/api/technician/getaddresslatlng",
			auth: true,
			method: "GET",
			// desc: '首页分类项目列表',
		},
		editjishi: {
			url: "api/technician/submitTechnicianInfo",
			auth: true,
			method: "POST",
			// desc: '首页分类项目列表',
		},
		submitTechnicianInfo:{
			url: "api/technician/submitTechnicianInfo",
			auth: true,
			method: "POST",
			// desc: '首页分类项目列表',
		},
		calculateAlreadyServiceTime: {
			url: "api/technician/calculateAlreadyServiceTime",
			auth: true,
			method: "GET",
			// desc: '首页分类项目列表',
		},
		updateRefusalTime: {
			url: "api/technician/updateRefusalTime",
			auth: true,
			method: "POST",
			// desc: '首页分类项目列表',
		},
		getTechnicianInfoDetail: {
			url: "api/technician/getTechnicianInfoDetail",
			auth: true,
			method: "GET",
			// desc: '首页分类项目列表',
		},
		getTechnicianCheckInfo: {
			url: "api/technician/getTechnicianCheckInfo",
			auth: true,
			method: "GET",
			// desc: '首页分类项目列表',
		},
		chefei: {
			url: "addons/shopro/user_wallet_log",
			auth: true,
			method: "GET",
			// desc: '首页分类项目列表',
		},
		zaixianshichang: {
			url: "api/technician/getOnlineDurationList",
			auth: true,
			method: "GET",
			// desc: '首页分类项目列表',
		},
		updateLocation: {
			url: "api/technician/updateLocation",
			auth: true,
			method: "POST",
			// desc: '首页分类项目列表',
		},
		confirmReach: {
			url: "addons/shopro/order/confirmReach",
			auth: true,
			method: "POST",
			// desc: '首页分类项目列表',
		},
		submitApply: {
			url: "/api/distributor/submitApply",
			auth: true,
			method: "POST",
			// desc: '申请门店',
		},
	},
	/** 门店 ↓ **/
	store: {
		list: {
			url: "/addons/shopro/store/index",
			auth: true,
			method: "GET",
			// desc: '商户列表，不需要storeId',
		},
		info: {
			url: "/addons/shopro/store.store/index",
			auth: true,
			method: "GET",
			// desc: '商户信息',
		},
		order: {
			url: "/addons/shopro/store.order/index",
			auth: true,
			method: "GET",
			// desc: '商户订单',
		},
		orderDetail: {
			url: "/addons/shopro/store.order/detail",
			auth: true,
			method: "GET",
			// desc: '订单详情',
		},
		orderSend: {
			url: "/addons/shopro/store.order/send",
			auth: true,
			method: "POST",
			// desc: '订单发货',
		},
		orderConfirm: {
			url: "/addons/shopro/store.order/confirm",
			auth: true,
			method: "POST",
			// desc: '核销订单',
		},
		apply: {
			url: "/addons/shopro/store.apply/apply",
			auth: true,
			method: "POST",
			// desc: '申请门店',
		},
		
		shopInfo: {
			url: "/addons/shopro/store.apply/info",
			auth: true,
			method: "POST",
			// desc: '门店信息',
		}
	},

	/** 项目 ↓ **/
	goods: {
		lists: {
			url: "/addons/shopro/goods/lists",
			auth: false,
			method: "GET",
			// desc: '项目列表',
		},
		seckillList: {
			url: "/addons/shopro/goods/seckillList",
			auth: false,
			method: "GET",
			// desc: '秒杀列表',
		},
		activity: {
			url: "/addons/shopro/goods/activity",
			auth: false,
			method: "GET",
			// desc: '活动项目',
		},
		myGroupon: {
			url: "/addons/shopro/activity_groupon/myGroupon",
			auth: true,
			method: "GET",
			// desc: '我的拼团',
		},
		grouponDetail: {
			url: "/addons/shopro/activity_groupon/detail",
			auth: false,
			method: "GET",
			// desc: '拼团详情',
		},
		grouponItem: {
			url: "/addons/shopro/activity_groupon/index",
			auth: false,
			method: "GET",
			// desc: '拼购列表',
		},
		grouponList: {
			url: "/addons/shopro/goods/grouponList",
			auth: false,
			method: "GET",
			// desc: '拼团项目列表',
		},
		detail: {
			url: "/addons/shopro/goods/detail",
			auth: false,
			method: "GET",
			// desc: '项目详情',
		},
		favorite: {
			url: "/addons/shopro/goods/favorite",
			auth: true,
			method: "POST",
			// desc: '项目收藏',
		},

		storeAddress: {
			url: "/addons/shopro/goods/store",
			auth: true,
			method: "GET",
			// desc: '项目支持的自提点',
		},
		scoreList: {
			url: "/addons/shopro/score_goods_sku_price/index",
			auth: false,
			method: "GET",
			// desc: '积分项目列表',
		},
		scoreDetail: {
			url: "/addons/shopro/score_goods_sku_price/detail",
			auth: false,
			method: "GET",
			// desc: '积分详情',
		},
		commentList: {
			url: "/addons/shopro/goods_comment/index",
			auth: false,
			method: "GET",
			// desc: '项目评论列表',
		},
		commentType: {
			url: "/addons/shopro/goods_comment/type",
			auth: false,
			method: "GET",
			// desc: '项目评论分类',
		},
	},

	/** 用户 ↓ **/
	user: {

		accountLogin: {
			url: "/addons/shopro/user/accountLogin",
			auth: false,
			method: "POST",
			// desc: '账号密码登录',
		},

		smsLogin: {
			url: "/addons/shopro/user/smsLogin",
			auth: false,
			method: "POST",
			// desc: '短信登录',
		},

		register: {
			url: "/addons/shopro/user/register",
			auth: false,
			method: "POST",
			// desc: '注册',
		},

		forgotPwd: {
			url: "/addons/shopro/user/forgotPwd",
			auth: false,
			method: "POST",
			// desc: '重置密码',
		},

		bindMobile: {
			url: "/addons/shopro/user/bindMobile",
			auth: true,
			method: "POST",
			// desc: '修改手机号',
		},

		changePwd: {
			url: "/addons/shopro/user/changePwd",
			auth: true,
			method: "POST",
			// desc: '修改密码',
		},

		info: {
			url: "/addons/shopro/user",
			auth: true,
			method: "GET",
			// desc: '用户信息'
		},

		profile: {
			url: "/addons/shopro/user/profile",
			auth: true,
			method: "POST",
			// desc: '修改用户信息'
		},
		logout: {
			url: "/addons/shopro/user/logout",
			auth: true,
			method: "POST",
			// desc: '退出登录'
		},
		delete: {
			url: "/addons/shopro/user/delete",
			auth: true,
			method: "POST",
			// desc: '注销账号'
		},

		getWxMiniProgramSessionKey: {
			url: "/addons/shopro/user/getWxMiniProgramSessionKey",
			auth: false,
			method: "POST",
			// desc: '获取用户session_key',
		},

		wxMiniProgramOauth: {
			url: "/addons/shopro/user/wxMiniProgramOauth",
			auth: false,
			method: "POST",
			// desc: '微信小程序登录',
		},

		wxOpenPlatformOauth: {
			url: "/addons/shopro/user/wxOpenPlatformOauth",
			auth: false,
			method: "POST",
			// desc: '微信APP登录',
		},

		thirdOauthInfo: {
			url: "/addons/shopro/user/thirdOauthInfo",
			auth: true,
			method: "GET",
			// desc: '第三方绑定信息',
		},
		unbindThirdOauth: {
			url: "/addons/shopro/user/unbindThirdOauth",
			auth: true,
			method: "POST",
			// desc: '解绑信息',
		},

		signList: {
			url: "/addons/shopro/user_sign/index",
			auth: true,
			method: "GET",
			// desc: '签到记录',
		},
		sign: {
			url: "/addons/shopro/user_sign/sign",
			auth: true,
			method: "POST",
			// desc: '签到',
		},
		messageIds: {
			url: "/addons/shopro/notification/template",
			auth: false,
			method: "GET",
			// desc: '订阅消息模板ids',
		},
		favoriteList: {
			url: "/addons/shopro/goods/favoriteList",
			auth: true,
			method: "GET",
			// desc: '项目收藏列表',
		},
		viewList: {
			url: "/addons/shopro/goods/viewList",
			auth: true,
			method: "GET",
			// desc: '足迹列表'
		},
		viewDelete: {
			url: "/addons/shopro/goods/viewDelete",
			auth: true,
			method: "POST",
			// desc: '删除足迹'
		},
		userData: {
			url: "/addons/shopro/user/userData",
			auth: true,
			method: "GET",
			// desc: '用户其他信息',
		},
		appleIdOauth: {
			url: "/addons/shopro/user/appleIdOauth",
			auth: false,
			method: "POST",
			// desc: 'appleId授权',
		},
		operationTechnicianStatus: {
			url: "/api/technician/operationTechnicianStatus",
			auth: false,
			method: "POST",
			// desc: 'appleId授权',
		},
		getTechnicianList: {
			url: "/api/technician/getLifePhotos",
			auth: false,
			method: "POST",
			// desc: 'appleId授权',
		},
		delLifePhotos: {
			url: "/api/technician/delLifePhotos",
			auth: false,
			method: "POST",
			// desc: 'appleId授权',
		},
		getLifePhotos: {
			url: "/api/technician/getLifePhotos",
			auth: false,
			method: "POST",
			// desc: 'appleId授权',
		}
	},

	/** 位置 ↓ **/
	address: {
		area: {
			url: "/addons/shopro/address/area",
			auth: false,
			method: "GET",
			// desc: '省市区',
		},
		list: {
			url: "/addons/shopro/address",
			auth: true,
			method: "GET",
			// desc: '地址列表',
		},
		edit: {
			url: "/addons/shopro/address/edit",
			auth: true,
			method: "POST",
			// desc: '修改地址',
		},
		defaults: {
			url: "/addons/shopro/address/defaults",
			auth: true,
			method: "GET",
			// desc: '默认地址',
		},
		info: {
			url: "/addons/shopro/address/info",
			auth: true,
			method: "GET",
			// desc: '地址详情',
		},
		del: {
			url: "/addons/shopro/address/del",
			auth: true,
			method: "POST",
			// desc: '删除',
		},
	},

	/** 常见问题 ↓ **/
	other: {
		faqList: {
			url: "/addons/shopro/faq",
			auth: false,
			method: "GET",
			// desc: '常见问题列表',
		},
		feedbackType: {
			url: "/addons/shopro/feedback/type",
			auth: true,
			method: "GET",
			// desc: '意见反馈类型',
		},
		feedbackAdd: {
			url: "/addons/shopro/feedback/add",
			auth: true,
			method: "POST",
			// desc: '提交意见',
		},
		commentAdd: {
			url: "/addons/shopro/comment/submit",
			auth: true,
			method: "POST",
			// desc: '提交评论',
		},
		commentList: {
			url: "/addons/shopro/comment/list",
			auth: true,
			method: "GET",
			// desc: '评论列表',
		}
	},

	/** 购物车 ↓ **/
	cart: {
		index: {
			url: "/addons/shopro/cart",
			auth: true,
			method: "POST",
			// desc: '购物车项目列表',
		},
		add: {
			url: "/addons/shopro/cart/add",
			auth: true,
			method: "POST",
			// desc: '添加购物车',
		},

		edit: {
			url: "/addons/shopro/cart/edit",
			auth: true,
			method: "POST",
			// desc: '编辑购物车',
		},
	},

	/** 订单 ↓ **/
	order: {
		index: {
			url: "/addons/shopro/order/index",
			auth: true,
			method: "GET",
			// desc: '订单列表',
		},
		pre: {
			url: "/addons/shopro/order/pre",
			auth: true,
			method: "POST",
			// desc: '预备提交订单',
		},
		createOrder: {
			url: "/addons/shopro/order/createOrder",
			auth: true,
			method: "POST",
			// desc: '提交订单',
		},
		detail: {
			url: "/addons/shopro/order/detail",
			auth: true,
			method: "GET",
			// desc: '订单详情',
		},
		itemDetail: {
			url: "/addons/shopro/order/itemDetail",
			auth: true,
			method: "GET",
			// desc: '订单项目详情',
		},
		confirm: {
			url: "/addons/shopro/order/confirm",
			auth: true,
			method: "POST",
			// desc: '确认收货',
		},
		cancel: {
			url: "/addons/shopro/order/cancel",
			auth: true,
			method: "POST",
			// desc: '取消订单',
		},
		comment: {
			url: "/addons/shopro/order/comment",
			auth: true,
			method: "POST",
			// desc: '评价项目',
		},
		coupons: {
			url: "/addons/shopro/order/coupons",
			auth: true,
			method: "POST",
			// desc: '项目可用优惠券',
		},
		aftersale: {
			url: "/addons/shopro/order_aftersale/aftersale",
			auth: true,
			method: "POST",
			// desc: '申请售后',
		},
		aftersaleList: {
			url: "/addons/shopro/order_aftersale/index",
			auth: true,
			method: "GET",
			// desc: '售后列表',
		},
		aftersaleDetail: {
			url: "/addons/shopro/order_aftersale/detail",
			auth: true,
			method: "GET",
			// desc: '售后列表详情',
		},
		deleteOrder: {
			url: "/addons/shopro/order/delete",
			auth: true,
			method: "POST",
			// desc: '删除订单',
		},
		deleteAftersaleOrder: {
			url: "/addons/shopro/order_aftersale/delete",
			auth: true,
			method: "POST",
			// desc: '删除售后订单',
		},
		cancelAftersaleOrder: {
			url: "/addons/shopro/order_aftersale/cancel",
			auth: true,
			method: "POST",
			// desc: '取消售后订单',
		},
		expressList: {
			url: "/addons/shopro/order_express/index",
			auth: true,
			method: "GET",
			// desc: '包裹列表',
		},
		expressDetail: {
			url: "/addons/shopro/order_express/detail",
			auth: true,
			method: "GET",
			// desc: '包裹详情',
		},
		itemDetail: {
			url: "/addons/shopro/order/itemDetail",
			auth: true,
			method: "GET",
			// desc: '订单项目详情',
		},
		operationTechnicianOrderStatus: {
			url: "/addons/shopro/order/operationTechnicianOrderStatus",
			auth: true,
			method: "POST",
			// desc: '订单项目详情',
		}
	},

	/** 支付金钱 ↓ **/
	money: {
		prepay: {
			url: "/addons/shopro/pay/prepay",
			auth: true,
			method: "POST",
			// desc: '发起支付',
		},
		walletApply: {
			url: "/addons/shopro/user_wallet_apply/apply",
			auth: true,
			method: "POST",
			// desc: '申请提现'
		},
		walletRule: {
			url: "/addons/shopro/user_wallet_apply/rule",
			auth: true,
			method: "GET",
			// desc: '提现规则'
		},
		walletLog: {
			url: "/addons/shopro/user_wallet_log",
			auth: true,
			method: "GET",
			// desc: '钱包,积分明细'
		},
		bankInfo: {
			url: "/addons/shopro/user_bank/info",
			auth: true,
			method: "GET",
			// desc: '银行卡信息'
		},
		bankEdit: {
			url: "/addons/shopro/user_bank/edit",
			auth: true,
			method: "POST",
			// desc: '编辑银行卡信息'
		},
		withdrawLog: {
			url: "/addons/shopro/user_wallet_apply/index",
			auth: true,
			method: "GET",
			// desc: '提现记录'
		},
		recharge: {
			url: "/addons/shopro/trade_order/recharge",
			auth: true,
			method: "POST",
			// desc: '充值'
		},
		rechargeLog: {
			url: "/addons/shopro/trade_order/index",
			auth: true,
			method: "GET",
			// desc: '充值记录'
		},
		rechargeDetail: {
			url: "/addons/shopro/trade_order/detail",
			auth: true,
			method: "GET",
			// desc: '充值订单详情'
		}
	},

	/** 优惠券 ↓ **/
	coupons: {
		list: {
			url: "/addons/shopro/coupons",
			auth: false,
			method: "GET",
			// desc: '个人中心优惠券列表',
		},
		templateList: {
			url: "/addons/shopro/coupons/lists",
			auth: false,
			method: "GET",
			// desc: '首页优惠券',
		},
		get: {
			url: "/addons/shopro/coupons/get",
			auth: true,
			method: "GET",
			// desc: '领取',
		},
		detail: {
			url: "/addons/shopro/coupons/detail",
			auth: true,
			method: "GET",
			// desc: '购物券详情',
		},
		goods: {
			url: "/addons/shopro/coupons/goods",
			auth: false,
			method: "GET",
			// desc: '适用项目',
		}
	},

	/** 分销 ↓ **/
	commission: {
		auth: {
			url: "/addons/shopro/commission.agent/info",
			auth: true,
			method: "GET",
			// desc: '分销身份鉴权',
		},
		log: {
			url: "/addons/shopro/commission.log/index",
			auth: true,
			method: "GET",
			// desc: '分销动态',
		},
		goods: {
			url: "/addons/shopro/commission.goods/index",
			auth: true,
			method: "GET",
			// desc: '分销项目',
		},
		ranking: {
			url: "/addons/shopro/commission.agent/ranking",
			auth: true,
			method: "GET",
			// desc: '分销商排行榜',
		},
		form: {
			url: "/addons/shopro/commission.agent/agentForm",
			auth: true,
			method: "GET",
			// desc: '申请成为分销商表单',
		},
		apply: {
			url: "/addons/shopro/commission.agent/applyForm",
			auth: true,
			method: "POST",
			// desc: '申请成为分销商',
		},
		team: {
			url: "/addons/shopro/commission.agent/team",
			auth: true,
			method: "GET",
			// desc: '我的团队',
		},
		share: {
			url: "/addons/shopro/share/index",
			auth: true,
			method: "GET",
			// desc: '分享记录',
		},
		orderLog: {
			url: "/addons/shopro/commission.order/index",
			auth: true,
			method: "GET",
			// desc: '分销订单',
		},
		rewardLog: {
			url: "/addons/shopro/commission.reward/index",
			auth: true,
			method: "GET",
			// desc: '佣金记录',
		},
		lv: {
			url: "/addons/shopro/commission.agent/level",
			auth: true,
			method: "GET",
			// desc: '佣金记录',
		}
	}


};
